﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DAY07
{
    class TravelAgency
    {
        
        Travels[] travels;
        public decimal this[string index]
        {
            get { /* return the specified index here */
                if (index == "加利福尼亚")
                {
                    return 8999M;
                } else if (index == "北京")
                {
                    return 8888M;
                } else
                {
                    return 0M;
                }
            
                }
            set { /* set the specified index to value here */ 
            
            
                }
        }


        
    }
}
